EM\Archetypes D

Total Complexity 213
Dependencies 1
Dependents 32
Total lines 789
Lines of code 589
Logical lines of code 317
Comment lines 146
Methods 33
Properties 7

Methods 33

Method Rating Maintainability Complexity Lines of code
init()
D
30 38 87
map_meta_cap()
B
44 19 43
get_cpts()
B
49 18 26
get_current()
A
50 16 25
get_option()
A
48 10 32
get_repeating_archetype()
A
53 10 22
create_archetype_cpt()
A
47 7 36
get_post_type()
A
55 8 20
em_taxonomies_init()
A
56 8 18
register_post_types()
A
55 8 18
get_default_post_type()
S
41 5 54
after_setup_theme()
S
59 6 13
map_meta_map_check()
S
62 6 10
get_repeating_cpt()
S
60 5 12
get_selected_archetypes()
S
66 5 7
map_meta_cap_repeating()
S
59 4 14
register_post_type()
S
59 4 13
get()
S
62 4 12
generate_capabilities()
S
55 3 18
map_meta_cap_type()
S
58 3 15
is_event()
S
65 4 8
get_option_values()
S
62 3 11
get_default_post_type_repeating()
S
52 2 22
get_ms_mode()
S
78 2 3
set_current()
S
73 2 5
get_options()
S
70 2 6
gutenberg_can_edit_post_type()
S
71 2 6
get_event_types()
S
69 2 7
is_location()
S
74 2 4
is_repeating()
S
74 2 4
em_enqueue_assets()
S
62 1 11
revert_current()
S
80 1 3
is_valid_cpt()
S
74 1 4